@iterations: 24;
.c-col(@i) when (@i > 0) {
    @percentage: @i * 25 / 6;
    .c-col-@{i} {
        display: block;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 ~"@{percentage}%";
        flex: 0 0 ~"@{percentage}%";
        max-width: ~"@{percentage}%";
    }
    .c-col(@i - 1);
}
.c-col(@iterations);

.c-row{
    &, &:after, &:before{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

